<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
 <base href="<%=request.getContextPath()%>/">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Insert title here</title>
<script type="text/javascript" src="js/jquery-2.1.1.min.js"></script>
<link rel="stylesheet" type="text/css" href="Styles/bootstrap.min.css" />
</head>
<body>
&nbsp&nbsp&nbsp&nbsp<a id="add" href="ppe/transtoexcel">导出为Excel</a><br/><br/>
	&nbsp&nbsp&nbsp&nbsp<a id="add" href="ppe/preAdd">添加</a><br/><br/>
	<table class="table table-hover table-striped" contenteditable="true">
                  <thead>
                    <tr>
                      <th>物品名称</th>
                      <th>型号</th>
                      <th>数量</th>
                      <th>单价</th>
                      <th>总价</th>
                      <th>购买时间</th>
                      <th>保修情况</th>
                      <th>使用情况</th>
                      <th>使用详情</th>
                      <th>存放地址</th>
                      <th>责任人</th>
                    </tr>
                  </thead>
	<tbody>
	<c:forEach items="${list }" var="ppe">
	<tr class="success">
			<td>${ppe.name }</td>
			<td>${ppe.model }</td>
			<td>${ppe.number }</td>
			<td>${ppe.price }</td>
			<td>${ppe.sumPrice }</td>
			<td>${ppe.buyTime }</td>
			<td>${ppe.baoxiu }</td>
			<td>${ppe.syqk }</td>
			<td>${ppe.syqkDetail }</td>
			<td>${ppe.address }</td>
			<td>${ppe.zerenren }</td>
		</tr>
	</c:forEach>
	</tbody>
</table>
	
</body>
</html>
